{extend name="base" /}

{block name="title"}银豆钱包{/block}

{block name="main"}
<div class="main">
	<div class="wdtx_header">
		<div class="container">
			<div class="qbgl_box clearfix">
				
				<div class="qbye">
					<div class="img_box">
						<img src="/images/qb.png"/>
					</div>
					<span>银豆钱包：<span class="color_ceng">{$currentUserWalletSilverPrice}</span></span>
				</div>
				<div class="btn_gruop">
					<a href="/wallet/silver/withdraw">提现</a>
				</div>
				
			</div>

			<div class="qb_info">
				<ul class="breadcrumb">
				  <li><a href="/user_info">绑定云付通</a></li>
				  <li><a href="/user_info/change_password">修改密码</a></li>
				  <li><a href="/user_info">修改个人信息</a></li>
				</ul>
			</div>
		</div>
	</div>
	<div class="container">
		<div class="qd_box">
			<div class="table_modal">
					
				<div class="tab_title">
					<p>银豆记录</p>
				</div>
				
				<div class="qd_table_box">
					<div class="table-responsive">
					  	<table class="table text-center table-bordered">
					    	<tr>
					    		<th>编号</th>
					    		<th>被推荐人</th>
					    		<th>金额</th>
					    		<th>分红</th>
					    		<th>剩余分红</th>
					    		<th>充值日期</th>
					    		<th>结束日期</th>
					    		<th>属性</th>
					    		<th>状态</th>
					    	</tr>
					    	{volist name='userWalletSilvers' id='userWalletSilver'}
							<tr>
					    		<td>{$userWalletSilver.user_wallet_silver_id}</td>
					    		<td>{$userWalletSilver.username}</td>
					    		<td>{$userWalletSilver.price}</td>
					    		<td>{$userWalletSilver.interest}</td>
					    		<td>{$userWalletSilver.remaining_interest}</td>
					    		<td>{$userWalletSilver.start_time|date='Y-m-d H:i',###}</td>
					    		<td>{$userWalletSilver.end_time|date='Y-m-d H:i',###}</td>
					    		<td>{$userWalletSilver.type}</td>
					    		<td>{$userWalletSilver.status}</td>
					    	</tr>
							{/volist}
					  	</table>
					</div>
					<nav>
						{$userWalletSilvers -> render()}
					</nav>
				</div>
			</div>
		</div>	
	</div>

</div>
{/block}